* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

#wrap {
    overflow: hidden;
    position: relative;
    width: 1000px;
    height: 580px;
    margin: 100px auto;
}

#wrap .img-list {
    display: flex;
    position: relative;
    left: 0px;
    width: 100%;
    height: 100%;
    transition: 0.5s ease;
}

#wrap .img-list img {
    width: 100%;
    cursor: pointer;
}

#wrap a {
    position: absolute;
    /* top: 50%; */
    transform: translate(0, -50%);
    display: block;
    width: 40px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    user-select: none;
    font-size: 25px;
    text-align: center;
    line-height: 50px;
    text-decoration: none;

}

#wrap a.left {
    top: 50%;
    left: 0;
    border-radius: 0 20px 20px 0;
}

#wrap a.right {
    top: 50%;
    right: 0;
    border-radius: 20px 0 0 20px;
}

.circle-list {
    display: flex;
    position: absolute;
    bottom: 5px;
    left: 53%;
    transform: translate(-50%, 0);
    width: 240px;
    height: 40px;
    z-index: 8;
}

.circle-list>.circle {
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 50%;
}

.circle-list>.circle.active {
    background-color: #e74c3c;
}